package com.github.prontera;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync
@EnableScheduling
@MapperScan(basePackages = "com.github.prontera.persistence", annotationClass = MyBatisRepository.class)
@SpringBootApplication
// @ImportResource({"classpath:dubbo.xml", "classpath*:messageRetryTimer.xml", "classpath*:messageConfirmTimer.xml"})
public class ApiMsApplication {

	public static void main(String[] args) {
		SpringApplication.run(ApiMsApplication.class, args);
	}
}
